package com.my.xl.salary.billdemo.mapper;

import com.my.xl.salary.billdemo.pojo.SalaryLogin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SalaryLoginMapper {

    //根据userId查询
    SalaryLogin checkUserByUserId(String userId);
    //插入数据
    int insert(SalaryLogin s);
    //修改密码
    int updatePwdByUserId(SalaryLogin s);

    List<String> isLogin();





   /*int deleteByPrimaryKey(Integer id);



    int insertSelective(SalaryLogin record);

    SalaryLogin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SalaryLogin record);

    int updateByPrimaryKey(SalaryLogin record);*/



}